/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-08-31
 * Time: 16:36
 */
public class Test1 {
    public static void main(String[] args) {
        BinarySearchTree binarySearchTree=new BinarySearchTree();
        int [] array={12,4,5,10,8};
        for (int x:
             array) {
            binarySearchTree.insert(x);
        }
        binarySearchTree.insert(3);
        binarySearchTree.removeNode(4);
        System.out.println();
    }
}
